package com.credithc.signature.job.ro;

import lombok.Data;

/**
 * @desc: <br/>
 * @author: Jingbo Hu<br/>
 * @time：2021年06⽉25⽇<br/>
 * @version：v1.0.0<br>
 */
@Data
public class JobRequest {

    private String requestSn;

    private String templateNo;

    private String channelNo;

    private Boolean needSign;

    private String callbackUrl;

    private String jsonBody;

    private Boolean isNewSignature;

    private Integer retryTime = 3;

    private Integer sealType = 0;

    public JobRequest() {
    }

    public JobRequest(String requestSn, String templateNo, String channelNo, Boolean needSign, String callbackUrl, String jsonBody, Boolean isNewSignature) {
        this.requestSn = requestSn;
        this.templateNo = templateNo;
        this.channelNo = channelNo;
        this.needSign = needSign;
        this.callbackUrl = callbackUrl;
        this.jsonBody = jsonBody;
        this.isNewSignature = isNewSignature;
    }
}
